//
//  AXFShopPayCostDetailCell.m
//  AXFEightGroup
//
//  Created by ya on 12/28/16.
//  Copyright © 2016 ya. All rights reserved.
//

#import "AXFShopPayCostDetailCell.h"
#import "AXFDataModel.h"

@interface AXFShopPayCostDetailCell ()

@property (weak, nonatomic) IBOutlet UILabel *costNameLabel;

@property (weak, nonatomic) IBOutlet UILabel *priceLabel;

@end

@implementation AXFShopPayCostDetailCell

- (void)setModel:(AXFDataModel *)model {
    _model = model;
    self.costNameLabel.text = model.text;
    self.priceLabel.text    = @"$".link(model.value);
}

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;

    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
